Skip to content

ci: fix node version mismatch in required spec validations#1326

Merged
wtrocki merged 1 commit into
mainfrom
CLOUDP-414595
Jun 17, 2026
Merged

ci: fix node version mismatch in required spec validations#1326
wtrocki merged 1 commit into
mainfrom
CLOUDP-414595

Conversation

@lovisaberggren

@lovisaberggren lovisaberggren commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Proposed changes

OpenAPI release started failing on "Validate the FOAS can be used with the Go SDK" step due to:

npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: openapi-generation-tools@0.1.0
npm error notsup Not compatible with your version of node/npm: openapi-generation-tools@0.1.0
npm error notsup Required: {"node":">= 22","npm":">= 8"}
npm error notsup Actual:   {"npm":"10.8.2","node":"v20.20.2"}

This started after a change in the Go SDK to bump node version from v20 to v22. Since we used v20 in the workflow setup, it started failing.

Fix: Bump workflow setup to use node v22.

Testing:
Ran openapi release for dev manually against this branch successfully: https://github.com/mongodb/openapi/actions/runs/27685139038

Jira ticket: CLOUDP-414595

Closes #1315
Closes #1314
Closes #1313
Closes #1312

@lovisaberggren lovisaberggren changed the title CLOUDP-414595: Fix node version mismatch in required-spec-validations ci: Fix node version mismatch in required-spec-validations Jun 17, 2026
@lovisaberggren lovisaberggren changed the title ci: Fix node version mismatch in required-spec-validations ci: fix node version mismatch in required-spec-validations Jun 17, 2026
@lovisaberggren lovisaberggren changed the title ci: fix node version mismatch in required-spec-validations ci: fix node version mismatch in required spec validations Jun 17, 2026
@lovisaberggren lovisaberggren marked this pull request as ready for review June 17, 2026 11:27
@lovisaberggren lovisaberggren requested a review from a team as a code owner June 17, 2026 11:27
@wtrocki

wtrocki commented Jun 17, 2026

Copy link
Copy Markdown
Member

Great catch! thank you for being proactive!

@wtrocki wtrocki merged commit 59d3bc4 into main Jun 17, 2026
37 of 41 checks passed
@wtrocki wtrocki deleted the CLOUDP-414595 branch June 17, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants